<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单管理</title>
    <meta name="viewport" content="width=device-width,user-scalable=no, initial-scale=1">
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <link rel="stylesheet" href="/static/component/markdown/editor/editormd.min.css" />
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
    <script src="/static/component/pear/module/ruinuo/sortable.js"></script>
    <script src="/static/component/pear/module/ruinuo/xm-select.js"></script>
</head>
<body>

<div class="view_body"></div>
<script type="text/html" id="view_body_data">
    <form class="layui-form" action="">
        <div class="mainBox ruinuo_box {{= form_config.form_label}}">
            <div class="main-container layui-row layui-col-space10 label_con">
                <div class="design-box layui-col-xs12 layui-col-md12 form_label_box {{#  if(layui.engine_form.PowerField('form_label')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">label对齐方式</label>
<div class="layui-input-block " data_tag="radio" data_source="label_type">
{{#  layui.each(d.source.label_type.rows, function(index, item){ }}
<input type="radio"  name="form_label" id="focus_4fce_1723433607275_99173" type="text" lay-tag="radio" value="{{= item.value }}" {{#  if(item.value==d.detail.form_label){ }}checked{{#  } }} title="{{= item.label }}" lay-filter="radio_filter"  lay-tag="radio">
{{#  }); }}
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 label_width_box {{#  if(layui.engine_form.PowerField('label_width')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">label宽度</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="label_width" id="focus_6044_1723433665874_29188" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.label_width}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 head_img_box {{#  if(layui.engine_form.PowerField('head_img')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">顶部图片</label>
<div class="layui-input-block " data_tag="upimg" data_source="">
<input  name="head_img" id="focus_8a75_1723433699475_97085" type="hidden" readonly lay-tag="upimg" autocomplete="off"  value="{{= d.detail.head_img}}" class="layui-input">
<div class="upfile display_flex">
<button class="pear-btn pear-btn-sm" type="button" id="upload_8a75_1723433699475_97085"><i class="layui-icon layui-icon-addition"></i>上传图片</button>
</div>
<div class="upload_con"></div>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 notes_box {{#  if(layui.engine_form.PowerField('notes')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">表单说明</label>
<div class="layui-input-block " data_tag="textarea" data_source="">
<textarea  name="notes" id="focus_5c50_1723433677700_27565" type="textarea" lay-tag="textarea" autocomplete="off" class="layui-textarea" style="min-height: 100px;">{{= d.detail.notes}}</textarea></div>
</div>

            </div>
        </div>
        <div class="bottom">
            <div class="ruinuo-button-con">
                <button type="button" class="pear-btn pear-btn-primary" onclick="SendForm()">
                    <i class="layui-icon layui-icon-ok"></i>提交
                </button>
                <button type="reset" class="pear-btn">
                    <i class="layui-icon layui-icon-refresh"></i>重置
                </button>
            </div>
        </div>
    </form>
</script>
<script>

    function FormBind()
    {
        layui.engine_form.BindUpload('8a75_1723433699475_97085','','upimg','','','1');

    }
</script>
<script src="/static/js/ruinuo/setform/config.js?t={:time()}"></script>
<script src="/static/component/markdown/editor/editormd.min.js"></script>
<script src="/static/component/markdown/editor/marked.min.js"></script>
<script src="/static/js/ruinuo/setform/form.js?t={:time()}"></script>
<script src="/static/component/pear/module/jQuery.print.js"></script>
</body>
</html>